package cn.edu.usts.sbmpservice.service;

import cn.edu.usts.sbmpservice.pojo.User;

import javax.jws.WebParam;
import javax.jws.WebService;
import java.text.ParseException;

@WebService(name = "UserService", // 暴露服务名称
        targetNamespace = "http://service.sbmpservice.usts.edu.cn"// 命名空间,一般是接口的包名倒序
)
public interface UserService {

    String sayHello(@WebParam(name = "userId") String userId ,@WebParam(name = "userName") String userName);

    int addUser(User user);
    User queryUser(Integer id);
    void disposeData(String data) throws ParseException;


}


